///
/// @Author: Lee
/// @Date: 2025/1/22 15:02
/// @Description: 网络请求常量
class HttpConstants {
  static const String applicationJson = "application/json";
  static const String contentType = "content-type";
  static const String accept = "accept";
  static const String token = "token";
  static const String userId = "user_id";
  static const String hardware = "hardware";
  static const String authorization = "authorization";
  static const baseUrl = "https://jicai-dev.holderzone.cn";

  /// ********请求code*********///
  /// 成功
  static const int suc = 0;

  /// 鉴权失败
  static const int authorizationFail = 401;

  ///404
  static const int pageNotFound = 404;

  ///500 服务错误
  static const int serverError = 500;

  ///502 网关错误
  static const int gatewayError = 502;
}
